package com.zkdcloud.dto;

import lombok.Data;

/**
 * @author zk123
 * @version 2018/5/16
 */
@Data
public class Token {
    /**
     * access_token
     */
    String access_token;
    /**
     * 用户id
     */
    String user_id;
    /**
     * 过期时间
     */
    Long expires_in;
    /**
     * toke类型
     */
    String token_type;
    /**
     * scope
     */
    String scope;
    /**
     * 刷新时的token
     */
    String refresh_token;

    public Token(){
        this.expires_in = Long.valueOf(Integer.MAX_VALUE);
        this.refresh_token = "3242342";
        this.scope = "request";
        this.token_type = "dl";
    }
}
